﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    [Serializable]
    public class KhachHang
    {
        private string hanhDong;
        private int khachHangID;
        private string maKhachHang;
        private string ten;
        private bool gioiTinh;
        private string diaChi;
        private string dienThoaiCD;
        private string dienThoaiDD;
        private string fax;
        private string email;
        private string mST;
        private string congTy;
        private DateTime ngaySinh;
        private int maVung;
        private DateTime ngayThamGia;
        private DateTime giaoDichCuoi;
        private string website;
        private string duNo;
        private string hanMucThanhToan;
        private string linkImage;
        private string linkImageRoot;
        private byte[] image;
        private System.Drawing.Image picture;
        private string ghiChu;
        private bool deleted;
        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }
        public KhachHang()
        { }

        public KhachHang(string Hanhdong, string maKH, string duNo)
        {
            this.hanhDong = Hanhdong;
            this.maKhachHang = maKH;
            this.duNo = duNo;
        }

        public KhachHang(string hanhDong,int khachHangID, string maKhachHang, string ten,bool gioiTinh, 
            string diaChi, string dienThoaiCD, string dienThoaiDD, 
            string fax, string email, string mST, string congTy, DateTime ngaySinh, int maVung, 
            DateTime ngayThamGia, DateTime giaoDichCuoi,
            string website, string duNo, string hanMucThanhToan, string linkImage, byte[] image,
            string ghiChu, bool deleted)
        {
            this.hanhDong = hanhDong;
            this.khachHangID = khachHangID;
            this.maKhachHang = maKhachHang;
            this.ten = ten;
            this.gioiTinh = gioiTinh;
            this.diaChi = diaChi;
            this.dienThoaiCD = dienThoaiCD;
            this.dienThoaiDD = dienThoaiDD;
            this.fax = fax;
            this.email = email;
            this.mST = mST;
            this.congTy = congTy;
            this.ngaySinh = ngaySinh;
            this.maVung = maVung;
            this.ngayThamGia = ngayThamGia;
            this.giaoDichCuoi = giaoDichCuoi;
            this.website = website;
            this.duNo = duNo;
            this.hanMucThanhToan = hanMucThanhToan;
            this.linkImage = linkImage;
            this.image = image;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public string HanhDong
        {
            get { return this.hanhDong; }
            set
            {
                this.hanhDong = value;
            }
        }
        public int KhachHangID
        {
            get { return this.khachHangID; }
            set
            {
                this.khachHangID = value;
            }
        }
        public string MaKhachHang
        {
            get { return this.maKhachHang; }
            set
            {
                this.maKhachHang = value;
            }
        }
        public string Ten
        {
            get { return this.ten; }
            set
            {
                this.ten = value;
            }
        }
        public bool GioiTinh
        {
            get { return this.gioiTinh; }
            set
            {
                this.gioiTinh = value;
            }
        }
        public string DiaChi
        {
            get { return this.diaChi; }
            set { this.diaChi = value; }
        }
        public string DienThoaiCD
        {
            get { return this.dienThoaiCD; }
            set { this.dienThoaiCD = value; }
        }
        public string DienThoaiDD
        {
            get { return this.dienThoaiDD; }
            set { this.dienThoaiDD = value; }
        }
        public string Fax
        {
            get { return this.fax; }
            set { this.fax = value; }
        }
        public string Email
        {
            get { return this.email; }
            set { this.email = value; }
        }
        public string MST
        {
            get { return this.mST; }
            set { this.mST = value; }
        }
        public string CongTy
        {
            get { return this.congTy; }
            set { this.congTy = value; }
        }
        public DateTime NgaySinh
        {
            get { return this.ngaySinh; }
            set { this.ngaySinh = value; }
        }
        public int MaVung
        {
            get { return this.maVung; }
            set { this.maVung = value; }
        }
        public DateTime NgayThamGia
        {
            get { return this.ngayThamGia; }
            set { this.ngayThamGia = value; }
        }
        public DateTime GiaoDichCuoi
        {
            get { return this.giaoDichCuoi; }
            set { this.giaoDichCuoi = value; }
        }
        public string Website
        {
            get { return this.website; }
            set { this.website = value; }
        }
        public string DuNo
        {
            get { return this.duNo; }
            set { this.duNo = value; }
        }
        public string HanMucThanhToan
        {
            get { return this.hanMucThanhToan; }
            set { this.hanMucThanhToan = value; }
        }
        public string LinkImage
        {
            get { return this.linkImage; }
            set { this.linkImage = value; }
        }
        public string LinkImageRoot
        {
            get { return linkImageRoot; }
            set { linkImageRoot = value; }
        }
        public byte[] Image
        {
            get { return image; }
            set { image = value; }
        }
        public System.Drawing.Image Picture
        {
            get { return picture; }
            set { picture = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public bool Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }

    }

}
